<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SWM34S_LVGL7.11_SWMUI: dev_tp_t结构体 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SWM34S_LVGL7.11_SWMUI<span id="projectnumber">&#160;V7.9</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.5 -->
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">成员变量</a>  </div>
  <div class="headertitle"><div class="title">dev_tp_t结构体 参考</div></div>
</div><!--header-->
<div class="contents">

<p>触摸屏设备类  
 <a href="structdev__tp__t.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="dev__touch_8h_source.html">dev_touch.h</a>&gt;</code></p>
<div class="dynheader">
dev_tp_t 的协作图:</div>
<div class="dyncontent">
<div class="center"><img src="structdev__tp__t__coll__graph.png" border="0" usemap="#adev__tp__t_coll__map" alt="Collaboration graph"/></div>
<map name="adev__tp__t_coll__map" id="adev__tp__t_coll__map">
<area shape="rect" title="触摸屏设备类" alt="" coords="8,93,79,119"/>
<area shape="rect" href="structtp__data__t.html" title="触摸数据结构体" alt="" coords="5,5,81,31"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">图例</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
成员变量</h2></td></tr>
<tr class="memitem:ade186a1e352f443f71fa39c14af5b674"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structtp__data__t.html">tp_data_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdev__tp__t.html#ade186a1e352f443f71fa39c14af5b674">point</a></td></tr>
<tr class="memdesc:ade186a1e352f443f71fa39c14af5b674"><td class="mdescLeft">&#160;</td><td class="mdescRight">触摸点数据  <a href="structdev__tp__t.html#ade186a1e352f443f71fa39c14af5b674">更多...</a><br /></td></tr>
<tr class="separator:ade186a1e352f443f71fa39c14af5b674"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b6262bfcb571b59fb3f322165d24a05"><td class="memItemLeft" align="right" valign="top">const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdev__tp__t.html#a7b6262bfcb571b59fb3f322165d24a05">points_num</a></td></tr>
<tr class="memdesc:a7b6262bfcb571b59fb3f322165d24a05"><td class="mdescLeft">&#160;</td><td class="mdescRight">触摸点上限  <a href="structdev__tp__t.html#a7b6262bfcb571b59fb3f322165d24a05">更多...</a><br /></td></tr>
<tr class="separator:a7b6262bfcb571b59fb3f322165d24a05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a667e6ecfded590d72b21fcb5a0e5b260"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="dev__touch_8h.html#ab82e9fc0994f9cf732d62c6e02271973">tp_type_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdev__tp__t.html#a667e6ecfded590d72b21fcb5a0e5b260">type</a></td></tr>
<tr class="memdesc:a667e6ecfded590d72b21fcb5a0e5b260"><td class="mdescLeft">&#160;</td><td class="mdescRight">触摸设备类型  <a href="structdev__tp__t.html#a667e6ecfded590d72b21fcb5a0e5b260">更多...</a><br /></td></tr>
<tr class="separator:a667e6ecfded590d72b21fcb5a0e5b260"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af3031ab65710d467a459643a51e94949"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="dev__touch_8h.html#a4d8890ebc8ff6e7826af41519043e77e">tp_mode_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdev__tp__t.html#af3031ab65710d467a459643a51e94949">mode</a></td></tr>
<tr class="memdesc:af3031ab65710d467a459643a51e94949"><td class="mdescLeft">&#160;</td><td class="mdescRight">触摸设备工作模式  <a href="structdev__tp__t.html#af3031ab65710d467a459643a51e94949">更多...</a><br /></td></tr>
<tr class="separator:af3031ab65710d467a459643a51e94949"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0f91d3c2b3f1fef36a3530341576d6b"><td class="memItemLeft" align="right" valign="top">uint8_t(*const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdev__tp__t.html#ad0f91d3c2b3f1fef36a3530341576d6b">init_cb</a> )(void)</td></tr>
<tr class="memdesc:ad0f91d3c2b3f1fef36a3530341576d6b"><td class="mdescLeft">&#160;</td><td class="mdescRight">(return: 0 - success other - error_code)&lt;触摸设备初始化&gt;(None)  <a href="structdev__tp__t.html#ad0f91d3c2b3f1fef36a3530341576d6b">更多...</a><br /></td></tr>
<tr class="separator:ad0f91d3c2b3f1fef36a3530341576d6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f710901c7b478810ab1e3d1b7332989"><td class="memItemLeft" align="right" valign="top">uint8_t(*const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdev__tp__t.html#a4f710901c7b478810ab1e3d1b7332989">read_cb</a> )(<a class="el" href="structtp__data__t.html">tp_data_t</a> *p_data, uint8_t points)</td></tr>
<tr class="memdesc:a4f710901c7b478810ab1e3d1b7332989"><td class="mdescLeft">&#160;</td><td class="mdescRight">(返回读取到的触点信息的个数)&lt;读取触摸点数据&gt;(触摸点数据, 期望读取的触摸点数)  <a href="structdev__tp__t.html#a4f710901c7b478810ab1e3d1b7332989">更多...</a><br /></td></tr>
<tr class="separator:a4f710901c7b478810ab1e3d1b7332989"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90323c876c50bbbc15dce886974a463f"><td class="memItemLeft" align="right" valign="top">void(*const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdev__tp__t.html#a90323c876c50bbbc15dce886974a463f">close_cb</a> )(void)</td></tr>
<tr class="memdesc:a90323c876c50bbbc15dce886974a463f"><td class="mdescLeft">&#160;</td><td class="mdescRight">关闭触摸设备(eg: 低功耗)  <a href="structdev__tp__t.html#a90323c876c50bbbc15dce886974a463f">更多...</a><br /></td></tr>
<tr class="separator:a90323c876c50bbbc15dce886974a463f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p >触摸屏设备类 </p>

<p class="definition">在文件 <a class="el" href="dev__touch_8h_source.html">dev_touch.h</a> 第 <a class="el" href="dev__touch_8h_source.html#l00150">150</a> 行定义.</p>
</div><h2 class="groupheader">结构体成员变量说明</h2>
<a id="ade186a1e352f443f71fa39c14af5b674" name="ade186a1e352f443f71fa39c14af5b674"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ade186a1e352f443f71fa39c14af5b674">&#9670;&#160;</a></span>point</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structtp__data__t.html">tp_data_t</a>* point</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>触摸点数据 </p>

<p class="definition">在文件 <a class="el" href="dev__touch_8h_source.html">dev_touch.h</a> 第 <a class="el" href="dev__touch_8h_source.html#l00152">152</a> 行定义.</p>

</div>
</div>
<a id="a7b6262bfcb571b59fb3f322165d24a05" name="a7b6262bfcb571b59fb3f322165d24a05"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7b6262bfcb571b59fb3f322165d24a05">&#9670;&#160;</a></span>points_num</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const uint8_t points_num</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>触摸点上限 </p>

<p class="definition">在文件 <a class="el" href="dev__touch_8h_source.html">dev_touch.h</a> 第 <a class="el" href="dev__touch_8h_source.html#l00153">153</a> 行定义.</p>

</div>
</div>
<a id="a667e6ecfded590d72b21fcb5a0e5b260" name="a667e6ecfded590d72b21fcb5a0e5b260"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a667e6ecfded590d72b21fcb5a0e5b260">&#9670;&#160;</a></span>type</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="dev__touch_8h.html#ab82e9fc0994f9cf732d62c6e02271973">tp_type_t</a> type</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>触摸设备类型 </p>

<p class="definition">在文件 <a class="el" href="dev__touch_8h_source.html">dev_touch.h</a> 第 <a class="el" href="dev__touch_8h_source.html#l00154">154</a> 行定义.</p>

</div>
</div>
<a id="af3031ab65710d467a459643a51e94949" name="af3031ab65710d467a459643a51e94949"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af3031ab65710d467a459643a51e94949">&#9670;&#160;</a></span>mode</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="dev__touch_8h.html#a4d8890ebc8ff6e7826af41519043e77e">tp_mode_t</a> mode</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>触摸设备工作模式 </p>

<p class="definition">在文件 <a class="el" href="dev__touch_8h_source.html">dev_touch.h</a> 第 <a class="el" href="dev__touch_8h_source.html#l00155">155</a> 行定义.</p>

</div>
</div>
<a id="ad0f91d3c2b3f1fef36a3530341576d6b" name="ad0f91d3c2b3f1fef36a3530341576d6b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad0f91d3c2b3f1fef36a3530341576d6b">&#9670;&#160;</a></span>init_cb</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t(*const init_cb) (void)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>(return: 0 - success other - error_code)&lt;触摸设备初始化&gt;(None) </p>

<p class="definition">在文件 <a class="el" href="dev__touch_8h_source.html">dev_touch.h</a> 第 <a class="el" href="dev__touch_8h_source.html#l00158">158</a> 行定义.</p>

</div>
</div>
<a id="a4f710901c7b478810ab1e3d1b7332989" name="a4f710901c7b478810ab1e3d1b7332989"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f710901c7b478810ab1e3d1b7332989">&#9670;&#160;</a></span>read_cb</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t(*const read_cb) (<a class="el" href="structtp__data__t.html">tp_data_t</a> *p_data, uint8_t points)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>(返回读取到的触点信息的个数)&lt;读取触摸点数据&gt;(触摸点数据, 期望读取的触摸点数) </p>

<p class="definition">在文件 <a class="el" href="dev__touch_8h_source.html">dev_touch.h</a> 第 <a class="el" href="dev__touch_8h_source.html#l00161">161</a> 行定义.</p>

</div>
</div>
<a id="a90323c876c50bbbc15dce886974a463f" name="a90323c876c50bbbc15dce886974a463f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a90323c876c50bbbc15dce886974a463f">&#9670;&#160;</a></span>close_cb</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void(*const close_cb) (void)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>关闭触摸设备(eg: 低功耗) </p>

<p class="definition">在文件 <a class="el" href="dev__touch_8h_source.html">dev_touch.h</a> 第 <a class="el" href="dev__touch_8h_source.html#l00164">164</a> 行定义.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
</small></address>
</body>
</html>
